.PHONY:all
all:udpServer udpClient

udpServer:main.cpp
	g++ $^ -o $@ -std=c++11

udpClient:udpClient.cpp
	g++ $^ -o $@ -std=c++11 -lpthread

.PHONY:clean
clean:
	rm -f udpServer udpClient